package company;

public class Manager extends Employee{
    public Manager(String name,int age,String employeeId,double salary,int yearsOfService)
    {
        super(name,age,employeeId,salary,yearsOfService);
    }

    public void raiseSalary()
    {
        this.setSalary(this.getSalary()*1.2);
    }
}
